package com.crm.dao.mapper.exchangeProductsRecord;

import com.crm.model.entity.exchangeProductsRecord.ProductExchangeaApproval;
import com.crm.model.entity.exchangeProductsRecord.ProductExchangeaApprovalExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductExchangeaApprovalMapper {
    long countByExample(ProductExchangeaApprovalExample example);

    int deleteByExample(ProductExchangeaApprovalExample example);

    int deleteByPrimaryKey(String productExchangeApprovalId);

    int insert(ProductExchangeaApproval record);

    int insertSelective(ProductExchangeaApproval record);

    List<ProductExchangeaApproval> selectByExample(ProductExchangeaApprovalExample example);

    ProductExchangeaApproval selectByPrimaryKey(String productExchangeApprovalId);

    int updateByExampleSelective(@Param("record") ProductExchangeaApproval record, @Param("example") ProductExchangeaApprovalExample example);

    int updateByExample(@Param("record") ProductExchangeaApproval record, @Param("example") ProductExchangeaApprovalExample example);

    int updateByPrimaryKeySelective(ProductExchangeaApproval record);

    int updateByPrimaryKey(ProductExchangeaApproval record);
}